<ui:composition template="../templates/template.xhtml" xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core" xmlns:p="http://primefaces.org/ui" xmlns:ui="http://java.sun.com/jsf/facelets">

	<ui:define name="title">
		<h:outputText value="#{msg.test_override_jsf_messages_title}" />
	</ui:define>

	<ui:define name="content">

		<h:panelGrid columns="2">

			<h:outputText value="#{msg.test_override_jsf_messages_number}"></h:outputText>
			<h:panelGroup>
				<h:inputText id="inputNumber" label="#{msg.test_override_jsf_messages_number}" value="#{testOverrideJsfMessages.number}" required="true">				</h:inputText>
			</h:panelGroup>

			<h:outputText value="#{msg.test_override_jsf_messages_text}"></h:outputText>
			<h:panelGroup>
				<h:inputText id="textInput" label="#{msg.test_override_jsf_messages_text}" value="#{testOverrideJsfMessages.text}"
					required="true"></h:inputText>
			</h:panelGroup>

			<h:outputText value="#{msg.test_override_jsf_messages_date}"></h:outputText>
			<h:panelGroup>
				<p:calendar label="#{msg.test_override_jsf_messages_date}" value="#{testOverrideJsfMessages.date}" required="true"></p:calendar>
			</h:panelGroup>

			<h:commandButton value="#{msg.global_send}"></h:commandButton>

		</h:panelGrid>

		<h:panelGrid columns="2">

			<h:outputText value="#{msg.test_override_jsf_messages_number}"></h:outputText>
			<h:panelGroup>
				<h:outputText value="#{testOverrideJsfMessages.number}" />
			</h:panelGroup>

			<h:outputText value="#{msg.test_override_jsf_messages_text}"></h:outputText>
			<h:panelGroup>
				<h:outputText value="#{testOverrideJsfMessages.text}" />
			</h:panelGroup>

			<h:outputText value="#{msg.test_override_jsf_messages_date}"></h:outputText>
			<h:panelGroup>
				<h:outputText value="#{testOverrideJsfMessages.date}"></h:outputText>
			</h:panelGroup>

		</h:panelGrid>

	</ui:define>

</ui:composition>
